use actix_web::{get, web, HttpResponse, Responder};
use fiof::get_fiof_info;

pub fn init(cfg: &mut web::ServiceConfig) {
    cfg.service(indx);
    cfg.service(get_fiof_info);
}

#[get("/")]
async fn indx() -> impl Responder {
    HttpResponse::Ok().body("welcome!")
}

pub mod fiof;
